package com.jeesite.modules.dp.entity.patrernstatics;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;

import java.util.Date;

@Table(name = "market_review_252d_new_high_sector_distribution", alias = "a", label = "板块分布", columns = {
        @Column(name = "date", attrName = "date", label = "date", isPK = true),
        @Column(name = "sector_name", attrName = "sectorName", label = "sectorName", isQuery = false),
        @Column(name = "stock_count", attrName = "stockCount", label = "stockCount"),
        @Column(name = "percentage", attrName = "percentage", label = "percentage"),
        @Column(name = "create_time", attrName = "createTime", label = "createTime"),
}, orderBy = "a.create_time DESC"
)
public class YearHighSectorDistributeEntity extends DataEntity<YearHighSectorDistributeEntity> {

    private Date date;

    private String sectorName;

    private Integer stockCount;

    private Double percentage;

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getSectorName() {
        return sectorName;
    }

    public void setSectorName(String sectorName) {
        this.sectorName = sectorName;
    }

    public Integer getStockCount() {
        return stockCount;
    }

    public void setStockCount(Integer stockCount) {
        this.stockCount = stockCount;
    }

    public Double getPercentage() {
        return percentage;
    }

    public void setPercentage(Double percentage) {
        this.percentage = percentage;
    }
}
